﻿ /*-----------------------------------------------------------------------
 * <copyright file="IWCFLog4.cs" company="O-RID">
 *     Copyright (c)2010 O-RID Co.,Ltd.
 * </copyright>
 * <author>Li Dawei</author>
 * <summary>LOG4服务接口</summary>
 *-----------------------------------------------------------------------
  */
namespace Orid.Management.Statistics.Service.Log4Service
{
    using System.ServiceModel;

    /// <summary>
    /// 注意: 如果更改此处的接口名称 "IWCFLog4"，也必须更新 Web.config 中对 "IWCFLog4" 的引用。
    /// </summary>
    [ServiceContract]
    public interface IWCFLog4
    {
        /// <summary>
        /// Info
        /// 记录程序操作信息
        /// </summary>
        /// <param name="message">message 操作信息</param>
        [OperationContract]
        void Info(string message);

        /// <summary>
        /// Error
        /// 记录程序错误
        /// </summary>
        /// <param name="message">message 错误信息</param>
        [OperationContract]
        void Error(string message);
    }
}
